﻿window._BMapLibStatImg="http://api.map.baidu.com/img/";window._addStat=function(f,e){if(!f){return}e=e||{};var d="";for(var b in e){d=d+"&"+b+"="+encodeURIComponent(e[b])}var g=function(h){if(!h){return}_addStat._sending=true;setTimeout(function(){_addStat._img.src=window._BMapLibStatImg+"transparent.gif?"+h.src},50)};var a=function(){var h=_addStat._reqQueue.shift();if(h){g(h)}};var c=(Math.random()*100000000).toFixed(0);if(_addStat._sending){_addStat._reqQueue.push({src:"t="+c+"&code="+f+d})}else{g({src:"t="+c+"&code="+f+d})}if(!_addStat._binded){_addStat._img.onload=function(){_addStat._sending=false;a()};_addStat._img.onerror=function(){_addStat._sending=false;a()};_addStat._binded=true}};window._addStat._reqQueue=[];window._addStat._img=new Image();var mapext={};var M=mapext;M.fe={},M.map={},M.util={},M.service={};
